﻿@{
	//Layout = "/Views/Login/_LayoutLogin.cshtml";
	Layout = "_LayoutLogin.cshtml";
}

@model IAR.Models.UserRegistrationModel

<h4>Registration</h4>
<hr />
<div class="row">
	<div class="col-md-4">
		<form asp-action="ProcessRegistration">
			<div asp-validation-summary="ModelOnly" class="text-danger"></div>

			<div class="form-group">
				<label asp-for="UserName" class="control-label"></label>
				<input asp-for="UserName" class="form-control" />
				<span asp-validation-for="UserName" class="text-danger"></span>
			</div>

			<div class="form-group">
				<label asp-for="Password" class="control-label"></label>
				<input asp-for="Password" class="form-control" type="password" />
				<span asp-validation-for="Password" class="text-danger"></span>
			</div>

			<div class="form-group">
				<label asp-for="Password2" class="control-label"></label>
				<input asp-for="Password2" class="form-control" type="password" />
				<span asp-validation-for="Password2" class="text-danger"></span>
			</div>

			<div class="form-group">
				<input type="submit" value="Sign Up" class="btn btn-primary" />
			</div>
		</form>
	</div>
</div>

@*<div>
	<a asp-action="Index">Back to List</a>
</div>*@

@section Scripts {
	@{await Html.RenderPartialAsync("_ValidationScriptsPartial");}
}
